const Generator = require('yeoman-generator')

module.exports = class extends Generator {
    // 写入文件
    writing () {
        this.fs.write(
            this.destinationPath('temp.txt'),
            Math.random().toString()
        )
         
    }
}